package com.toe.pojo.entity.recommend;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陶涛
 * @since 2022-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="RecommendFood对象", description="")
public class RecommendFood implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "食品id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "食品名称")
    private String name;

    @ApiModelProperty(value = "蛋白质")
    private Double protein;

    @ApiModelProperty(value = "脂肪")
    private Double fat;

    @ApiModelProperty(value = "糖含量")
    private Double sugar;

    @ApiModelProperty(value = "热量")
    private Double energy;

    @ApiModelProperty(value = "食品类别")
    private String category;

    @ApiModelProperty(value = "食物图片")
    private String pictures;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "最近修改时间")
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;


}
